In this Article I’m going to explain how to host Asp Dot Net application on IIS web server. Here I’ve shown this example on Windows 7 operating system. To host asp.net application on IIS (Internet Information Services), you’ve to follow some following system.
Step 1: Open Internet Information Services (IIS) manager. To open this, open Run command and type ‘inetmgr’
You can also achieve the same thing by going to Control Panel and clicking on Administrative Tools > Internet Information Services (IIS) Manager as displayed in the picture below.
Step 2: Install IIS web server in your local System. To install IIS web server in local system, go to Control Panel -> Programs and Features -> Turn Windows features on or off.
Now click on ‘Turn Windows features on or off’ then after following window will be appear.
Step 3: Now, open Internet Information Service (IIS) manager.
Here you can test that your local host running successfully. To check this, select Default Web Site and click on button ‘Browse’.
Now to host Asp.Net application on IIS web server, do right click on Sites and select ‘Add Web Site…’ option.
Now fill all appropriate information in textboxes as: Site name, Physical directory path of web site, Port No, binding type etc.
Now your web site successfully hosted into IIS web server and it will be visible in Sites folder.
Now you can browse your web site by clicking on button ‘Browse’ for testing purposethat is it run properly or not?
Now if you want to make some changes in your web site such as port number, binding type or any other thing, to perform this task you’ve an option ‘Advanced Settings… ’.
There is lots of an option through which you could manage your web site like Bindings, Basic Settings, and Advanced Settings etc.
This is a complete description on hosting ASP.NET application on IIS web server. I hope it will help you in understanding hosting Asp.Net web site or pages on IIS web server.
Leave Comment